package cn.iocoder.yudao.module.tms.convert.customerfollowlog;

import cn.iocoder.yudao.module.tms.controller.admin.customerfollowlog.vo.CustomerFollowLogRespVO;
import cn.iocoder.yudao.module.tms.controller.admin.customerfollowlog.vo.CustomerFollowLogSaveReqVO;
import cn.iocoder.yudao.module.tms.dal.dataobject.customerfollowlog.CustomerFollowLogDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface CustomerFollowLogConvert {

    CustomerFollowLogConvert INSTANCE = Mappers.getMapper(CustomerFollowLogConvert.class);

    CustomerFollowLogDO convert(CustomerFollowLogSaveReqVO bean);

    CustomerFollowLogRespVO convert(CustomerFollowLogDO bean);

    List<CustomerFollowLogRespVO> convertList(List<CustomerFollowLogDO> list);

    PageResult<CustomerFollowLogRespVO> convertPage(PageResult<CustomerFollowLogDO> page);

}
